<div id="central_body_title">New user</div>

<%= error_messages_for :user %>

<% form_for :user, @user, :url => {:action => "create", :controller => "users", :type => @privilege} do |f| %>
  <p>
    <b>Email</b><br />
    <%= f.text_field :email %>
  </p>

  <p>
    <b>Name</b><br />
    <%= f.text_field :name %>
  </p>

  <p>
    <b>Password</b><br />
    <%= f.password_field :password %>
  </p>
  
  <p>
    <b>Retype Password</b><br />
    <%= f.password_field :password_confirmation %>
  </p>

  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', :action => 'index', :controller => "core" %>